func runtime.readgstatus

45 uses

	runtime (current package)
		heapdump.go#L357: 	dumpint(uint64(readgstatus(gp)))
		heapdump.go#L412: 		status := readgstatus(gp) // The world is stopped so gp will not be in a scan state.
		mfinal.go#L313: 		empty = empty && readgstatus(fing) == _Gwaiting && fing.waitreason == waitReasonFinalizerWait
		mgcmark.go#L138: 				"status", readgstatus(gp),
		mgcmark.go#L205: 		status := readgstatus(gp) // We are not in a scan state
		mgcmark.go#L218: 			selfScan := gp == userG && readgstatus(userG) == _Grunning
		mgcmark.go#L820: 	if readgstatus(gp)&_Gscan == 0 {
		mgcmark.go#L821: 		print("runtime:scanstack: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", hex(readgstatus(gp)), "\n")
		mgcmark.go#L825: 	switch readgstatus(gp) &^ _Gscan {
		mgcmark.go#L827: 		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
		mgcmark.go#L832: 		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
		mprof.go#L1424: 		if readgstatus(fing) != _Gdead && !isSystemGoroutine(fing, false) {
		mprof.go#L1493: 	if readgstatus(gp1) == _Gdead {
		mprof.go#L1542: 	if readgstatus(gp1) == _Grunning {
		mprof.go#L1577: 		return gp1 != gp && readgstatus(gp1) != _Gdead && !isSystemGoroutine(gp1, false)
		panic.go#L1438: 	status := readgstatus(gp)
		preempt.go#L106: 	if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
		preempt.go#L123: 		switch s := readgstatus(gp); s {
		preempt.go#L265: 	switch s := readgstatus(gp); s {
		preempt.go#L344: 	return (gp.preempt || gp.m.p != 0 && gp.m.p.ptr().preempt) && readgstatus(gp)&^_Gscan == _Grunning
		proc.go#L413: 	status := readgstatus(gp)
		proc.go#L651: 	if readgstatus(gp) == _Gidle {
		proc.go#L884: 	print("runtime:   gp: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
		proc.go#L885: 	print("runtime: getg:  g=", thisg, ", goid=", thisg.goid, ",  g->atomicstatus=", readgstatus(thisg), "\n")
		proc.go#L1023: 	status := readgstatus(gp)
		proc.go#L1109: func readgstatus(gp *g) uint32 {
		proc.go#L1305: 		oldstatus := readgstatus(gp) &^ _Gscan
		proc.go#L3142: 	status := readgstatus(gp.m.lockedg.ptr())
		proc.go#L4108: 	status := readgstatus(gp)
		proc.go#L4161: 	status := readgstatus(gp)
		proc.go#L5010: 	if readgstatus(newg) != _Gdead {
		proc.go#L5136: 	if readgstatus(gp) != _Gdead {
		proc.go#L5965: 		s := readgstatus(gp)
		proc.go#L6403: 		print("  G", gp.goid, ": status=", readgstatus(gp), "(", gp.waitreason.String(), ") m=")
		signal_unix.go#L760: 		if crashing.Load() > 0 && gp != mp.curg && mp.curg != nil && readgstatus(mp.curg)&^_Gscan == _Grunning {
		stack.go#L1059: 		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->status=", hex(readgstatus(gp)), "\n ")
		stack.go#L1183: 	if traceEnabled() && readgstatus(gp)&^_Gscan == _Gwaiting && gp.waitreason.isWaitingForGC() {
		stack.go#L1197: 	if s := readgstatus(gp); s&_Gscan == 0 {
		trace.go#L395: 				ug.status = readgstatus(s.g) &^ _Gscan
		traceback.go#L840: 	if readgstatus(gp)&^_Gscan == _Gsyscall {
		traceback.go#L1200: 	gpstatus := readgstatus(gp)
		traceback.go#L1264: 		if gp == me || gp == curgp || readgstatus(gp) == _Gdead || isSystemGoroutine(gp, false) && level < 2 {
		traceback.go#L1273: 		if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning {
		tracestack.go#L50: 		status := readgstatus(gp)
		tracestatus.go#L93: 		if w.mp.p.ptr() == pp && w.mp.curg != nil && readgstatus(w.mp.curg)&^_Gscan == _Gsyscall {